<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
	contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<body>
	<h2>List Of LDAP Groups</h2>
	<table>
		<tr>
			<th>Organizational Unit</th>
			<th colspan="2"></th>
		</tr>
		<c:forEach items="${groups}" var="group">
			<tr>
				<td>${group.cn}</td>
				<td><a
					href="http://localhost:8080/LDAP/secure/LDAP_group/manage/${group.cn}">MANAGE</a></td>
				<td><a
					href="http://localhost:8080/LDAP/secure/LDAP_group/delete/${group.cn}">DELETE</a></td>
				<%-- <td><a href="LDAP_group/update/${group.cn}">EDIT</a></td>
				<td><a href="LDAP_group/addUser/${group.cn}">ADD A USER</a></td> --%>
			</tr>
		</c:forEach>
	</table>
	<a href="http://localhost:8080/LDAP/secure/LDAP_group/new">Add New</a>
</body>